package com.example.demo.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AppConstant {
    public static final String SESSION_USER_KEY = "SESSION_USER_KEY";
    public static String USER_DIR;
    public static String DISH_DIR;

    @Value("${filePath.user}")
    public void setUserDir(String userDir) {
        USER_DIR = userDir;
    }

    @Value("${filePath.dish}")
    public void setDISH_DIR(String dishDir) {
        DISH_DIR = dishDir;
    }
}
